from tkinter import*
gus = [0,0,10,0,10,10,10,10,20,10,20,30,10,30,10,20,0,20]
root = Tk()
root.title("ИТ марафон")
root.geometry("500x500")
canvas = Canvas(bg="white", width=500, height=500)
canvas.pack(anchor=CENTER, expand=1)
canvas.create_polygon(gus)
canvas.create_polygon(gus[0] *K+X, gus[1] *K+Y, gus[2] *K+X, gus[3] *K+Y,
                      gus[4] *K+X, gus[5] *K+Y, gus[6] *K+X, gus[7] *K+Y,
                      gus[8] *K+X, gus[9] *K+Y, gus[10] *K+X, gus[11] *K+Y)
root.mainloop()

